package sokoban;

public class SokobanResult implements Comparable<SokobanResult> {
	private final String name;
	private final int moveCount;
	public SokobanResult(String name, int moveCount){
		this.name=name;
		this.moveCount=moveCount;
	}
	public int compareTo(SokobanResult qq) {
		return this.moveCount-qq.moveCount;
	}
	public String getName(){
		return name;
	}
	public int getMoveCount(){
		return moveCount;
	}
}
